package com.fw.system.web.model.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 会员等级字典表
 * </p>
 *
 * @author  
 * @since 2021-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TbVipLevel extends Model<TbVipLevel> {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    /**
     * 等级名称
     */
    @TableField("vip_name")
    private String vipName;

    /**
     * 所属等级码
     */
    @TableField("vip_level")
    private Integer vipLevel;

    /**
     * 购买费用
     */
    @TableField("amount")
    private BigDecimal amount;

    /**
     * 购买费用
     */
    @TableField("parent_num")
    private BigDecimal parentNum;

    /**
     * 每日单数
     */
    @TableField("day_num")
    private Integer dayNum;

    /**
     * 每单利润比
     */
    @TableField("order_amount")
    private BigDecimal orderAmount;

    /**
     * 每日限制总额
     */
    @TableField("day_amount")
    private BigDecimal dayAmount;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
